package com.ruowei.modules.foodOrder.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class MerchantVM {
    @NotNull
    @ApiModelProperty(value = "商家名称")
    private String merchantName;

    @NotNull
    @ApiModelProperty(value = "商家地址")
    private String merchantAddress;

    @ApiModelProperty(value = "商家照片，多张用逗号分割")
    private String photos;

    @NotNull
    @ApiModelProperty(value = "商家电话")
    private String phone;

    @ApiModelProperty(value = "商家描述")
    private String description;

    @ApiModelProperty(value = "商家公告")
    private String notice;

    @ApiModelProperty(value = "营业时间段，多个时间段用逗号分割")
    private String openTime;

    @ApiModelProperty(value = "商家状态，营业、歇业、停业、删除")
    private String status;

    @ApiModelProperty(value = "优惠满减，json格式，如满300减50：{\"full\":300,\"discount\":50}")
    private String fullDiscount;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "起送价")
    private BigDecimal startingPrice;
}
